package com.bluetoothsms.common;

public class MessageBattery extends BluetoothMessage {

	public MessageBattery(int level, int scale) {
		super(BtMessageType.Battery, new String[] { String.valueOf(level),
				String.valueOf(scale) });
	}

	public MessageBattery(byte[] data, int length) {
		super(BtMessageType.Battery, data, length);
	}

	public int getLevel() {
		return Integer.valueOf(mData[0]);
	}

	public int getScale() {
		return Integer.valueOf(mData[1]);
	}
}
